import Vue from "vue";
import App from "./App.vue";
import VConsole from "vconsole";

import router from "./router/index";
import { directive, directiveForDom } from "vue-horizontal-screen";
import KeyBoard from "../packages/index"
Vue.directive("horizontal-screen", { ...directive });
Vue.directive("hs-swipe", { ...directiveForDom });


//新的
Vue.use(KeyBoard);
// if (process.env.NODE_ENV === 'development') {
//   new VConsole();
// }
new Vue({
    el: "#app",
    router,
    render: (h) => h(App),
});